Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Working With Channel Characteristics


SGGetChannelInfo

The SGGetChannelInfo function allows you to determine how a channel's data is represented to the user--as visual or audio data, or both.

pascal ComponentResult SGGetChannelInfo (SGChannel c, 
                                          long *channelInfo);
c
Specifies the reference that identifies the channel for this operation. You obtain this reference from the SGNewChannel function, described on page 5-29.
channelInfo
Contains a pointer to a long integer that is to receive channel information flags. More than one flag may be set to 1. Unused flags are set to 0. The following flags are defined:
seqGrabHasBounds
Indicates that the channel has a visual representation. If this flag is set to 1, the channel has a visual representation.
seqGrabHasVolume
Indicates that the channel has an audio representation. If this flag is set to 1, the channel has an audio representation.
seqGrabHasDiscreteSamples
Indicates that the channel data is organized into discrete frames. If this flag is set to 1, you can use the SGSetChannelMaxFrames function (see page 5-60) to limit the number of frames processed in a record operation or the rate at which those frames are processed. If this flag is set to 0, the channel data is not organized into frames. Therefore, you can only limit a record operation by setting the maximum time for the operation.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help